<template>
    <button @click="clickHandle" > {{btnName1}}</button>
</template>
<script>
export default {
  name: 'Child1',
  props: ['btnName1'],
    methods: {
      clickHandle () {
        this.$emit('update_count',100)
      }
    }
}
</script>
<style>
    button{
        padding:5px 10px;
        margin:2px;
        background-color:#fff;
        border-radius: 5px; 
    }
</style

